<template>
	<view>
		
	</view>
</template>

<!-- <script>
	export default{
		onLoad() {
		    console.log('index onLoad >>>');
		},
		onShow(){
			console.log('index onShow >>>');
		},
		onReady(){
			console.log('index onReady >>>');
		},
		onHide(){
			console.log('index onHide >>>');
		},
		created(){
			console.log('index created >>>');
		},
		mounted(){
			console.log('index mounted >>>');
		},
		updated(){
			console.log('index updated >>>');
		},
		unmounted(){
			console.log('index destryed >>>');
		},
	}
</script>

<style> -->

<script setup>
	import {onMounted, onUpdated, onUnmounted} from 'vue'
	//create 生命周期直接写在根下
	console.log('life created ');
	onMounted(()=>{
		console.log('life mounted ')
	})
	onUpdated(()=>{
		console.log('life onupdated');
	})
	onUnmounted(()=>{
		console.log('life onUnMounted ');
	})

</script>

<style>
</style>
